-- Decompiled with the Synapse X Luau decompiler.

local ClientOHOH = _G.ClientOHOH;
local M = {};
local TweenHelper = ClientOHOH.load.TweenHelper();
local tw1 = TweenInfo.new(0.1, Enum.EasingStyle.Quad);
local tw2 = TweenInfo.new(0.05, Enum.EasingStyle.Quad);

local Client_AudioManager = ClientOHOH.load.Client_AudioManager();
function M.ShowTween(self, root, minScale, maxScale)
	
	local OSize=root.Size
	
	minScale = minScale and minScale or 0.5;
	maxScale = maxScale and maxScale or 1;

	root.Size=UDim2.fromScale(OSize.X.Scale *minScale, OSize.Y.Scale*minScale)
	
	local maxSize=UDim2.fromScale(OSize.X.Scale *maxScale, OSize.Y.Scale*maxScale)
	
	TweenHelper:PlayTween(root, tw1, {
		Size = maxSize
	},function()
		if maxScale>1 then
			TweenHelper:PlayTween(root, tw2, {
				Size = OSize
			})
		end
	end);
end;

return M;
